package top.zsyle.basic.vo;

import lombok.Data;
import top.zsyle.system.domain.Menu;
import top.zsyle.user.domain.Logininfo;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class LoginVo {
    @NotBlank(message = "token不能为空")
    private String token;

    @Valid
    private Logininfo logininfo;

    // 按钮权限
    private List<String> permissions;

    // 菜单权限
    private List<Menu> menus;
}
